package com.qulai.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;



@Configuration
public class EbayConfig {

    @Value("${ebay.clientId}")
    private String clientId;

    @Value("${ebay.clientSecret}")
    private String clientSecret;

    @Value("${ebay.redirectUri}")
    private String redirectUri;

    @Value("${ebay.tokenUrl}")
    private String tokenUrl;

    @Value("${ebay.authUrl}")
    private String authUrl;

    @Value("${ebay.scopes}")
    private String scopes;

    // Getters
    public String getClientId() {
        return clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public String getRedirectUri() {
        return redirectUri;
    }

    public String getTokenUrl() {
        return tokenUrl;
    }

    public String getAuthUrl() {
        return authUrl;
    }

    public String getScopes() {
        return scopes;
    }
}
